package com.eastelsoft.smartiot.bssserver.domain;

import java.io.Serializable;
import java.util.Date;

public class TCmUserAccount implements Serializable {
    private String userAccountId;

    private String operateId;

    private String userAccount;

    private String passwd;

    private Short userType;

    private Integer authType;

    private Date recentlyModTime;

    private Date recentlyLoginTime;

    private String alias;

    private String mobileNum;

    private Short lockFlag;

    private Date lockedTime;

    private String lockedMemo;

    private Integer passwdErrorTimes;

    private Date firstPasswdErrTime;

    private Date openTime;

    private static final long serialVersionUID = 1L;

    public String getUserAccountId() {
        return userAccountId;
    }

    public void setUserAccountId(String userAccountId) {
        this.userAccountId = userAccountId == null ? null : userAccountId.trim();
    }

    public String getOperateId() {
        return operateId;
    }

    public void setOperateId(String operateId) {
        this.operateId = operateId == null ? null : operateId.trim();
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount == null ? null : userAccount.trim();
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd == null ? null : passwd.trim();
    }

    public Short getUserType() {
        return userType;
    }

    public void setUserType(Short userType) {
        this.userType = userType;
    }

    public Integer getAuthType() {
        return authType;
    }

    public void setAuthType(Integer authType) {
        this.authType = authType;
    }

    public Date getRecentlyModTime() {
        return recentlyModTime;
    }

    public void setRecentlyModTime(Date recentlyModTime) {
        this.recentlyModTime = recentlyModTime;
    }

    public Date getRecentlyLoginTime() {
        return recentlyLoginTime;
    }

    public void setRecentlyLoginTime(Date recentlyLoginTime) {
        this.recentlyLoginTime = recentlyLoginTime;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias == null ? null : alias.trim();
    }

    public String getMobileNum() {
        return mobileNum;
    }

    public void setMobileNum(String mobileNum) {
        this.mobileNum = mobileNum == null ? null : mobileNum.trim();
    }

    public Short getLockFlag() {
        return lockFlag;
    }

    public void setLockFlag(Short lockFlag) {
        this.lockFlag = lockFlag;
    }

    public Date getLockedTime() {
        return lockedTime;
    }

    public void setLockedTime(Date lockedTime) {
        this.lockedTime = lockedTime;
    }

    public String getLockedMemo() {
        return lockedMemo;
    }

    public void setLockedMemo(String lockedMemo) {
        this.lockedMemo = lockedMemo == null ? null : lockedMemo.trim();
    }

    public Integer getPasswdErrorTimes() {
        return passwdErrorTimes;
    }

    public void setPasswdErrorTimes(Integer passwdErrorTimes) {
        this.passwdErrorTimes = passwdErrorTimes;
    }

    public Date getFirstPasswdErrTime() {
        return firstPasswdErrTime;
    }

    public void setFirstPasswdErrTime(Date firstPasswdErrTime) {
        this.firstPasswdErrTime = firstPasswdErrTime;
    }

    public Date getOpenTime() {
        return openTime;
    }

    public void setOpenTime(Date openTime) {
        this.openTime = openTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userAccountId=").append(userAccountId);
        sb.append(", operateId=").append(operateId);
        sb.append(", userAccount=").append(userAccount);
        sb.append(", passwd=").append(passwd);
        sb.append(", userType=").append(userType);
        sb.append(", authType=").append(authType);
        sb.append(", recentlyModTime=").append(recentlyModTime);
        sb.append(", recentlyLoginTime=").append(recentlyLoginTime);
        sb.append(", alias=").append(alias);
        sb.append(", mobileNum=").append(mobileNum);
        sb.append(", lockFlag=").append(lockFlag);
        sb.append(", lockedTime=").append(lockedTime);
        sb.append(", lockedMemo=").append(lockedMemo);
        sb.append(", passwdErrorTimes=").append(passwdErrorTimes);
        sb.append(", firstPasswdErrTime=").append(firstPasswdErrTime);
        sb.append(", openTime=").append(openTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}